!{include file='common/header.htm'}
<div class="wrap main_content" id="main_content">
	<div class="left_content" id="wiki_content">
		<h1><a href="/wiki/!{$wiki.word}">!{$wiki.word}</a></h1>
		!{foreach from=$wiki.items item=w key=k}
			<div class="item">
				<h2>
					<a href="/wiki/album/!{$wiki.word}?p=!{$k}" flexible-nav>!{$k}</a> (共 !{$w.image_count} 张)
					!{if $w.images|count gt 12}
					<a href="/wiki/album/!{$wiki.word}?p=!{$k}" class="more">更多 </a>
					!{/if}
				</h2>
				<ul class="images_tabs">
					!{foreach from=$w.images item=img key=ik}
					<a href="/wiki/image/!{$wiki.word}?p=!{$k}&i=!{$ik}">
						<img class="lazy" data-original="!{res file=!{$img.file} thumb=150x150}" src="!{res file='images/grey.gif'}" width="150px" height="150px" alt="!{$img.alt}">
					</a>
					!{foreachelse}
					<li>暂无图片</li>
					!{/foreach}
				</ul>
			</div>
		!{/foreach}
	</div>
	<div class="right_content wiki_ext_info"> 
		<a href="/wiki/add"><img src="!{res file='template/wiki/images/add_word.jpg'}" alt="添加词条"/></a>
		!{include file='./_creator.htm'}
		!{include file='./_contributors.htm'}
	</div>
</div>
!{include file='common/footer.htm'}